package org.example.bookshelf_manager.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @ClassName PageResult
 * @Description 泛型
 * @Author ZJX
 * @Date 2024/8/28 17:51
 * @Version 1.0
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageResult <T>{
    private List<T> records;
    private Integer count;
    private PageRequest pageRequest;
}
